<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'idrules'); ?>
		<?php echo $form->textField($model,'idrules'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'description'); ?>
		<?php echo $form->textField($model,'description',array('size'=>60,'maxlength'=>90)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'contracr'); ?>
		<?php echo $form->textField($model,'contracr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'contradr'); ?>
		<?php echo $form->textField($model,'contradr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'paymentcr'); ?>
		<?php echo $form->textField($model,'paymentcr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'paymentdr'); ?>
		<?php echo $form->textField($model,'paymentdr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'receiptcr'); ?>
		<?php echo $form->textField($model,'receiptcr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'receiptdr'); ?>
		<?php echo $form->textField($model,'receiptdr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'journalcr'); ?>
		<?php echo $form->textField($model,'journalcr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'journaldr'); ?>
		<?php echo $form->textField($model,'journaldr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'salescr'); ?>
		<?php echo $form->textField($model,'salescr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'salesdr'); ?>
		<?php echo $form->textField($model,'salesdr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'purchasecr'); ?>
		<?php echo $form->textField($model,'purchasecr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'purchasedr'); ?>
		<?php echo $form->textField($model,'purchasedr'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('application', 'Search')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->